Ubuntu 16.04
Sponsored Link

Nested KVM
2016/05/17
 
Configure nested KVM. It's possible to install KVM and create virtual machines as nested KVM on KVM host.
[1] Enable the setting for Nested KVM.
# show the current setting ( if the result is "Y", it's OK )

root@dlp:~#
cat /sys/module/kvm_intel/parameters/nested

Y
# if the result is "N", change like follows and reboot the system )

root@dlp:~#
echo 'options kvm_intel nested=1' >> /etc/modprobe.d/qemu-system-x86.conf
[2] Edit configuration of an existing virtual machine you'd like to set Nested like follows.
It's OK all, it's possible to create virtual machine on GuestOS.
root@dlp:~#
virsh edit ubuntu
# change "cpu mode" like follows

<cpu mode='
host-passthrough
'>
 
Tweet